package com.kreig133.spine.simplemodel;

import com.kreig133.spine.abstractmodel.AbstractState;
import com.kreig133.spine.interfaces.State;

/**
 *
 * @author C.C.-fag
 */
public class SimpleState extends AbstractState {

    protected double coordinate = 0.0;
    protected double upForce = 0.0;
    protected double speed = 0.0;
    
    public SimpleState(){
    }

    public SimpleState(double coordinate, double upForce) {
        this.coordinate = coordinate;
        this.upForce = upForce;
    }
    
    public SimpleState(double coordinate, double upForce, double speed) {
        this(coordinate, upForce);
        this.speed = speed;
    }

    public double getSpeed() {
        return speed;
    }

    public double getUpForce() {
        return upForce;
    }

    @Override
    public double getCoordinate() {
        return coordinate;
    }

    @Override
    public void setCoordinate(double coordinate) {
        this.coordinate = coordinate;
    }

}
